import instance from "./axios";

export let citylist = () => {
    // 发起一个get请求
    return instance({
        method: 'get',
        url: '/api/city',

    });

}

export let sscity= (wd) => {
    // 发起一个get请求
    return instance({
        method: 'get',
        url: '/api/city/search',
        params:{
            wd
        }

    });

}